var gUrlParam;
function initUrlParam()
{
var url = location.href;  
var paraString = url.substring(url.indexOf("?")+1,url.length).split("&");  
gUrlParam = {}  
for (i=0; j=paraString[i]; i++){  
gUrlParam[j.substring(0,j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=")+1,j.length);  
}  
}
initUrlParam();
function getQueryString(paras) 
{
	var returnValue = gUrlParam[paras.toLowerCase()];  
	if(typeof(returnValue)=="undefined"){  
		return null;  
	}else{  
		return returnValue; 
	}
}
function logout(){
	if (confirm("您确定要退出控制面板吗？"))
	top.location = "?act=logout";
	return false;
}